import request from '@/utils/request'

// 查询实时数据查询列表
export function listSssjcx(query) {
  return request({
    url: '/qynygl/sssjcx/list',
    method: 'get',
    params: query
  })
}

// 查询实时数据查询详细
export function getSssjcx(id) {
  return request({
    url: '/qynygl/sssjcx/' + id,
    method: 'get'
  })
}

// 新增实时数据查询
export function addSssjcx(data) {
  return request({
    url: '/qynygl/sssjcx',
    method: 'post',
    data: data
  })
}

// 修改实时数据查询
export function updateSssjcx(data) {
  return request({
    url: '/qynygl/sssjcx',
    method: 'put',
    data: data
  })
}

// 删除实时数据查询
export function delSssjcx(id) {
  return request({
    url: '/qynygl/sssjcx/' + id,
    method: 'delete'
  })
}
